﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="SifreDegistir.aspx.cs" Inherits="BeniBastanYaratProject.Uye.SifreDegistir" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 181px;
        }
        .style3
        {
            width: 177px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main_CenterContent" runat="server">
    <p>
        <table class="style1">
            <tr>
                <td class="style2">
                    <asp:Label ID="Label1" runat="server" Text="Eski &#350;ifreyi Giriniz :"></asp:Label>
                </td>
                <td class="style3">
                    <asp:TextBox ID="txteskisifre" runat="server" TextMode="Password"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txteskisifre" ErrorMessage="Eski Sifre Bo&#351; Gecilemez" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label2" runat="server" Text="Yeni Sifreyi Giriniz :"></asp:Label>
                </td>
                <td class="style3">
                    <asp:TextBox ID="txtyenisifre" runat="server" TextMode="Password"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtyenisifre" ErrorMessage="Yeni Sifre Bos Gecilemz" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label3" runat="server" Text="Yeni Sifreyi Tekrar Giriniz :"></asp:Label>
                </td>
                <td class="style3">
                    <asp:TextBox ID="txtyenisiftekrar" runat="server" TextMode="Password"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtyenisiftekrar" ErrorMessage="Yeni Sifreyi Tekrar Giriniz" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtyenisifre" ControlToValidate="txtyenisiftekrar" 
                        ErrorMessage="Yeni Sifreler ayn&#305; de&#287;il" ForeColor="Red"></asp:CompareValidator>
                </td>
            </tr>
        </table>
        <br />
        <asp:Button ID="btndegistir" runat="server" onclick="btndegistir_Click" 
            Text="&#350;ifreyi De&#287;i&#351;tir" Width="109px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label4" runat="server" ForeColor="Red"></asp:Label>
    </p>
</asp:Content>
